﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace MsForgeReboot.Framework.ViewModels {
    public class UserViewModel {
        /// <summary>
        ///   Gets or sets the id.
        /// </summary>
        public int Id { get; set; }

        /// <summary>
        ///   Gets or sets the username.
        /// </summary>
        [MaxLength(100)]
        [Required(AllowEmptyStrings = false)]
        [DataType(DataType.EmailAddress)]
        [Display(Name = "E-mail")]
        public string Username { get; set; }

        /// <summary>
        /// Gets or sets the name of the public.
        /// </summary>
        /// <value>
        /// The name of the public.
        /// </value>
        [MaxLength(100)]
        [Required(AllowEmptyStrings = false)]
        [Display(Name = "Ime")]
        public string PublicName { get; set; }

    }
}
